import request from "@/utils/request";
export function insertPage(data) {
  return request({
    url: "/content-page/insert",
    method: "post",
    data: data
  });
}
export function updatePage(data) {
  return request({
    url: "/content-page/update",
    method: "post",
    data: data
  });
}
export function deletePage(data) {
  return request({
    url: "/content-page/delete",
    method: "post",
    data: data
  });
}
export function deletesPage(data) {
  return request({
    url: "/content-page/deletes",
    method: "post",
    data: data
  });
}
export function enablePage(data) {
  return request({
    url: "/content-page/enable",
    method: "post",
    data: data
  });
}
export function enablesPage(data) {
  return request({
    url: "/content-page/enables",
    method: "post",
    data: data
  });
}
export function disablePage(data) {
  return request({
    url: "/content-page/disable",
    method: "post",
    data: data
  });
}
export function disablesPage(data) {
  return request({
    url: "/content-page/disables",
    method: "post",
    data: data
  });
}
export function generatePage(data) {
  return request({
    url: "/content-page/generate",
    method: "post",
    data: data
  });
}
export function viewPage(params) {
  return request({
    url: "/content-page/view",
    method: "get",
    params: params
  });
}
export function pagePage(params) {
  return request({
    url: "/content-page/page",
    method: "get",
    params: params
  });
}
export function searchPage(params) {
  return request({
    url: "/content-page/search",
    method: "get",
    params: params
  });
}
